//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.qst.crop.service.impl;

import com.qst.crop.dao.IOTDeviceMessageDao;
import com.qst.crop.entity.IOTDeviceMessage;
import com.qst.crop.service.IOTDeviceMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IOTDeviceMessageImpl implements IOTDeviceMessageService {
    @Autowired
    IOTDeviceMessageDao mapper;

    public IOTDeviceMessageImpl() {
    }

    public IOTDeviceMessage getByCode(String code) {
        return this.mapper.getByCode(code);
    }

    public void setUser(String formUser, String code) {
        this.mapper.setUser(code, formUser);
    }
}
